<?php

return [
    'adminEmail' => 'emhome@163.com',
    'supportEmail' => 'support@example.com',
    'user.passwordResetTokenExpire' => 3600,
    'copyrightInfo' => 'Copyright &copy;{year} {host} {company} All Rights Reserved.',
    //
    'domain' => 'lnts.cn',
    'title' => '河东区科技特派员',
    'subtitle' => 'STCOR',
    'telephone' => '0531-87972477',
    'company' => '山东鲁能泰山足球俱乐部有限公司',
    'icp' => '鲁ICP备09061180号-1',
    //
    'format_pattern' => [
        //用户名必须是数字、英文、汉字或者下划线，不能以数字或者下划线开头或结尾
        'username' => '/^[a-zA-Z\x80-\xff]{1}[a-zA-Z0-9_\x80-\xff]{4,30}[a-zA-Z\x80-\xff]{1}$/',
        'mobile' => '/1[3456789]{1}\d{9}$/',
        'email' => '/^\w+([-.]\w+)*@([0-9a-z][0-9a-z-]+.)+[a-z]{2,3}$/',
        'idcardno' => '/^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|x|X)$/',
        'vipcard' => '/^(zs|ZS|ccb|CCB|ln|LN)\d{6}$/',
        //密码6-16位字母数字加符号
        'password' => '/((?=.*[a-z])(?=.*\d)|(?=[a-z])(?=.*[#@!~%^&*])|(?=.*\d)(?=.*[#@!~%^&*]))[a-z\d#@!~%^&*]{6,16}/i',
    ],
    'alioss_video_host' => [
        //截帧地址
        'host' => 'https://lntsv.oss-cn-hangzhou.aliyuncs.com',
        //时间
        't' => 0,
        //宽度
        'width' => 187,
        //高度
        'height' => 302,
        //格式
        'format' => 'jpg',
        //截图模式
        'module' => 'fast',
    ],
    'defaultImages' => [
        'user_avatar' => '/assets/app/avatar/default.png'
    ],
    'shareData' => [
        'title' => '记工客，随手记工 极速对账 方便快捷 最好用的记工神器',
        'icon' => '/assets/share/foreman.jpg',
        'thumb' => '/assets/share/foreman.jpg',
        'url' => ['/pages/index/main'],
    ],
];
